#ifndef ABSTRACTMODELSUBJECT_H
#define ABSTRACTMODELSUBJECT_H

#include <vector>
#include "abstractmodelobserver.h"
using namespace std;

class AbstractModelSubject
{
private:
    vector<AbstractModelObserver*> observers;
public:
    AbstractModelSubject();
    void Register(AbstractModelObserver* observer);
    void Unregister(AbstractModelObserver* observer);
    void NotifyImageUpdated(bool updateHistogram);
};

#endif // ABSTRACTMODELSUBJECT_H
